<div class="depot-form">
  <%= error_messages_for :blog %>
  <fieldset>
    <legend>Enter Blog Setting Details</legend>
    <% form_for :blog do |form| %>
      <p>
        <label for="blog_title">Title:</label>
        <%= form.text_field :title, :size => 40 %>
      </p>
      <p>
        <label for="blog_subtitle">SubTitle:</label>
        <%= form.text_field :subtitle, :size => 40 %>
      </p>
      <p>
        <label for="blog_abstract_lenght">Length:</label>
        <%= form.text_field :abstract_length, :size => 40 %>
      </p>
      
      <p>
        <label for="blog_about">About:</label>
        <%= form.text_area :about, :rows => 5, :cols => 60 %>
      </p>
      <p>
        <label for="blog_custom">Custom:</label>
        <%= form.text_area :custom, :rows => 5, :cols => 60 %>
      </p>
      
      <p>
        <label for="blog_entries_per_page">Entries per page:</label>
        <%= form.select :entries_per_page, %w{5 10 15 20} %>
      </p>
      <br/>
      <p>
        <label for="blog_recent_entries">Recent Entries:</label>
        <%= form.select :recent_entries, %w{5 10 15 20} %>
      </p>
      <br/>
      <p>
        <label for="blog_recent_comments">Recent Comments:</label>
        <%= form.select :recent_comments, %w{5 10 15 20} %>
      </p>
      <%= submit_tag "Update", :class => "submit" %>
    <% end %>
  </fieldset>
</div>